<div class="vagas view">
<h2><?php  __('Vaga');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Empresa'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($vaga['Empresa']['name'], array('controller' => 'empresas', 'action' => 'view', $vaga['Empresa']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['name']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Referencia'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['referencia']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Paise'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($vaga['Paise']['name'], array('controller' => 'paises', 'action' => 'view', $vaga['Paise']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Provincia'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($vaga['Provincia']['name'], array('controller' => 'provincias', 'action' => 'view', $vaga['Provincia']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Distrito'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($vaga['Distrito']['name'], array('controller' => 'distritos', 'action' => 'view', $vaga['Distrito']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Salario'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['salario']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Resumo'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['resumo']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Descricao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['descricao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tempo Experiencia'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($vaga['TempoExperiencia']['name'], array('controller' => 'tempo_experiencias', 'action' => 'view', $vaga['TempoExperiencia']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Data Limite'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['data_limite']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Data Publicacao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['data_publicacao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $vaga['Vaga']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Vaga', true), array('action' => 'edit', $vaga['Vaga']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Vaga', true), array('action' => 'delete', $vaga['Vaga']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $vaga['Vaga']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Vagas', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Vaga', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Empresas', true), array('controller' => 'empresas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Empresa', true), array('controller' => 'empresas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Paises', true), array('controller' => 'paises', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Paise', true), array('controller' => 'paises', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Provincias', true), array('controller' => 'provincias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Provincia', true), array('controller' => 'provincias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Distritos', true), array('controller' => 'distritos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Distrito', true), array('controller' => 'distritos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tempo Experiencias', true), array('controller' => 'tempo_experiencias', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tempo Experiencia', true), array('controller' => 'tempo_experiencias', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Areas', true), array('controller' => 'areas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Area', true), array('controller' => 'areas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tipo Empregos', true), array('controller' => 'tipo_empregos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tipo Emprego', true), array('controller' => 'tipo_empregos', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Areas');?></h3>
	<?php if (!empty($vaga['Area'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaga['Area'] as $area):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $area['id'];?></td>
			<td><?php echo $area['title'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'areas', 'action' => 'view', $area['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'areas', 'action' => 'edit', $area['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'areas', 'action' => 'delete', $area['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $area['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Area', true), array('controller' => 'areas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Tipo Empregos');?></h3>
	<?php if (!empty($vaga['TipoEmprego'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($vaga['TipoEmprego'] as $tipoEmprego):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tipoEmprego['id'];?></td>
			<td><?php echo $tipoEmprego['name'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tipo_empregos', 'action' => 'view', $tipoEmprego['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tipo_empregos', 'action' => 'edit', $tipoEmprego['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tipo_empregos', 'action' => 'delete', $tipoEmprego['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tipoEmprego['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Tipo Emprego', true), array('controller' => 'tipo_empregos', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
